package com.neuedu.qian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;
/**
* Author lu
* Date  2025-07-31 09:49:29
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Alias("signIn")
@TableName(value = "sign_in")
public class SignIn implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    *签到id
    */
    @TableField(value = "sign_in_id")
    @TableId(type = IdType.AUTO)
    private Integer signInId;

    /**
    * 标题
    */
    @TableField(value = "title")
    private String title;
    /**
    * 发起签到教师id
    */
    @TableField(value = "tea_id")
    private Integer teaId;
    /**
    * 发起签到学生id
    */
    @TableField(value = "stu_id")
    private Integer stuId;
    /**
    * 关闭模式(1:自动;2:手动)
    */
    @TableField(value = "close_mode")
    private Object closeMode;
    /**
    * 开始时间
    */
    @TableField(value = "start_time")
    private Date startTime;
    /**
    * 结束时间
    */
    @TableField(value = "end_time")
    private Date endTime;
    /**
    * 状态(1:未进行;2:进行中;3:已结束;4:已取消;5:暂停中)
    */
    @TableField(value = "status")
    private Object status;
    /**
    * 备注
    */
    @TableField(value = "remark")
    private String remark;
    /**
    * 创建时间
    */
    @TableField(value = "create_time")
    private Date createTime;
    /**
    * 修改时间
    */
    @TableField(value = "update_time")
    private Date updateTime;
}